package com.party.core.model.commune;

import com.party.core.model.BaseModel;

/**
 *  路线起始点与会员的距离和时间实体类
 * @Date: 2019/10/22 14:18
 */
public class CRouteInfo extends BaseModel {

    //路线id
    private String routeId;
    //会员id
    private String memberId;
    //出行类型（0：公交 1：驾车）
    private Integer travelType;
    //会员到路线起点/终点的距离(单位m)
    private Double distance;
    //行程的时间（单位s）
    private Double duration;
    //路线标记（0：表示路线起点 1：表示路线终点）
    private Integer routeFlag;
    //地址类型（0：公司地址 1：家地址）
    private Integer addressType;

    //请求接口返回的状态码
    private Integer status;
    //状态码对应的信息
    private String message;

    //会员昵称
    private String memberName;
    //会员图像地址
    private String logo;

    //公司地址
    private String companyAddress;
    //家地址
    private String homeAddress;
    //路线起点
    private String origin;
    //路线终点
    private String destination;

    public String getLogo() {
        return logo;
    }

    public void setLogo(String logo) {
        this.logo = logo;
    }

    public String getCompanyAddress() {
        return companyAddress;
    }

    public void setCompanyAddress(String companyAddress) {
        this.companyAddress = companyAddress;
    }

    public String getHomeAddress() {
        return homeAddress;
    }

    public void setHomeAddress(String homeAddress) {
        this.homeAddress = homeAddress;
    }

    public String getOrigin() {
        return origin;
    }

    public void setOrigin(String origin) {
        this.origin = origin;
    }

    public String getDestination() {
        return destination;
    }

    public void setDestination(String destination) {
        this.destination = destination;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getRouteId() {
        return routeId;
    }

    public void setRouteId(String routeId) {
        this.routeId = routeId;
    }

    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public Double getDistance() {
        return distance;
    }

    public void setDistance(Double distance) {
        this.distance = distance;
    }

    public Double getDuration() {
        return duration;
    }

    public void setDuration(Double duration) {
        this.duration = duration;
    }

    public Integer getTravelType() {
        return travelType;
    }

    public void setTravelType(Integer travelType) {
        this.travelType = travelType;
    }

    public Integer getRouteFlag() {
        return routeFlag;
    }

    public void setRouteFlag(Integer routeFlag) {
        this.routeFlag = routeFlag;
    }

    public Integer getAddressType() {
        return addressType;
    }

    public void setAddressType(Integer addressType) {
        this.addressType = addressType;
    }
}
